home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Ap-Az
/
AutoScripter.cpt
/
AutoScripter
/
card_3866.txt
< prev
next >
Wrap
Text File
|
1988-03-05
|
7KB
|
298 lines
-- card: 3866 from stack: in
-- bmap block id: 4197
-- flags: 4000
-- background id: 2786
-- name: properties
----- HyperTalk script -----
on TorF
global holder,propName
answer "Set " & propName & " to what?" with "False" or "True"
put space & it & return after holder
put holder after field "script-it" of card "main card"
visual effect wipe left
pop card
end TorF
-- part 1 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=95 top=142 right=164 bottom=195
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: arrowKeys
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "arrowKeys" into propName
put " arrowKeys to " after holder
TorF
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=95 top=171 right=193 bottom=195
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Blind Typing
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "blindTyping" into propName
put " blindTyping to " after holder
TorF
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=95 top=200 right=222 bottom=195
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: cursor
----- HyperTalk script -----
on mouseUp
global holder
put " cursor to " after holder
ask "Enter cursor number:" with "1"
put it after holder
put holder & return after field "script-it" of card "main card"
pop card
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=96 top=228 right=250 bottom=196
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Drag Speed
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put " dragSpeed to " after holder
ask "What speed (pixels per second)?"
put it & return after holder
put holder after field "script-it" of card "main card"
pop card
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=96 top=257 right=279 bottom=196
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: editBkgnd
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "editBkgnd" into propName
put " editBkgnd to " after holder
TorF
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=96 top=286 right=308 bottom=196
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: language
----- HyperTalk script -----
on mouseUp
global holder
ask "What Language?" with "English"
put " language to " & it & return after holder
put holder after field "script-it" of card "main card"
pop card
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=321 top=143 right=165 bottom=421
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: lockMessages
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "lockMessages" into propName
put " lockMessages to " after holder
TorF
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=321 top=170 right=192 bottom=421
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: lockRecent
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "lockRecent" into propName
put " lockRecent to " after holder
TorF
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=321 top=199 right=221 bottom=421
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: lockScreen
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "lockScreen" into propName
put " lockScreen to " after holder
TorF
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=320 top=229 right=251 bottom=420
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: numberFormat
----- HyperTalk script -----
on mouseUp
global holder
put " numberFormat to " after holder
ask "How many digits of precision?" with "2"
put it into precision
answer "Display a zero before the decimal?" with "Sure" or "Heck No"
put it in to displayZero
if display zero is "Yes" then put "0" into format
put "." after format
repeat with counter = 1 to precision
put "#" after format
end repeat
put auote & format & quote & return after holder
put holder after field "script-it" of card "main card"
pop card
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=320 top=257 right=279 bottom=420
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: powerKeys
----- HyperTalk script -----
on mouseUp
global holder, propNmae
put "powerKeys" into propName
put " powerKeys to " after holder
TorF
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=320 top=286 right=308 bottom=420
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: userLevel
----- HyperTalk script -----
on mouseUp
golbal holder
put " userLevel to " after holder
ask "What level of use?" with "5"
put it after holder
put holder & return after field "script-it" of card "main card"
pop card
end mouseUp